package com.ruoyi.web.controller.Base;

import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.service.OverviewInforServivce;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/web/ov")
public class OverviewController extends BaseController {
    @Autowired
    OverviewInforServivce overviewInforServivce;
    @GetMapping("/get")
    public AjaxResult getOverview(){
        return AjaxResult.success(overviewInforServivce.getOverviewInfor());
    }


}
